package exe2;

import java.util.Random;

public class Train extends AbstractVehicle {

	@Override
	public int speedUp() {
		int speed = new Random().nextInt(5) + 8;
		return speed;
	}

}
